package com.lb.statck.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lb.statck.mapper.category.ProductMapper;
import com.lb.statck.pojo.vo.ProductVo;
import com.lb.statck.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductServiceimpel extends ServiceImpl<ProductMapper, ProductVo> implements ProductService {
    @Autowired
    private ProductMapper productMapper;

    @Override
    public List<ProductVo> getList(String id) {
        List<ProductVo> result=  productMapper.getAllDetail(id);
        return result;
    }
}
